package com.ruoyi.project.cms.notice.mapper;

import com.ruoyi.project.cms.notice.domain.CmsNotice;
import io.swagger.models.auth.In;

import java.util.List;

/**
 *com.ruoyi.project.cms.notice.mapper
 *作者：lh
 描述:
 *时间:2020-05-17
 */
public interface CmsNoticeMapper {
    int deleteByPrimaryKey(int nid);

    int insert(CmsNotice record);

    int insertSelective(CmsNotice record);

    CmsNotice selectByPrimaryKey(int nid);

    int updateByPrimaryKeySelective(CmsNotice record);

    int updateByPrimaryKey(CmsNotice record);

    CmsNotice checkNoticeNameUnique(String nname);

    List<CmsNotice> selectNoticeList(CmsNotice cmsNotice);

    CmsNotice selectNotice(int tid);


    List<CmsNotice> selectByTp(int tid);

}